/* This is where you'd handle the chunk. It starts at
"body", and has "size" number of bytes.
ELSE
Raise(E_IFF) /* This just means no "CMAP" chunk was found. */
ENDIF
Raise(E_NONE)
EXCEPT
IF (iff)
CloseIFF(iff)
IF (iff.stream) THEN Close(iff.stream)
FreeIFF(iff)
ENDIF
IF exception<>E_NONE THEN errormessage(exception)
ENDPROC
The troubles you are running into might be due to not using the
"StopOnExit" function. I could not get this to work without it. The
example used here tells ParseIFF to stop when it is leaving the FORM
chunk, which normally is the end of the file.
Hope this helps,
Chad Randall (crandall@garnet.msen.com)
From donews!crash!mail.csh.rit.edu!jerry Fri, 11 Feb 94 06:17:31 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1swq@bkhouse.cts.com>; Fri, 11 Feb 94 06:17:31 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pUqTv-0001PjC; Fri, 11 Feb 94 00:31 EST
Received: from nick.csh.rit.edu by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pUqGM-00003tC; Thu, 10 Feb 94 21:17 PST
Received: from ccimp.csh.rit.edu (ccimp.csh.rit.edu [129.21.60.1]) by nick.csh.rit.edu (8.6.3/8.6.3) with ESMTP id AAA13744 for <AmigaE@bkhouse.cts.com>; Fri, 11 Feb 1994 00:15:27 -0500
Received: from localhost (jerry@localhost) by ccimp.csh.rit.edu (8.6.3/8.6.3) id AAA22601 for AmigaE@bkhouse.cts.com; Fri, 11 Feb 1994 00:15:26 -0500
From donews!crash!synapse.org!bob.monaghan Sat, 12 Feb 94 01:36:44 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t2a@bkhouse.cts.com>; Sat, 12 Feb 94 01:36:44 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pV2BP-0001jYC; Fri, 11 Feb 94 13:01 EST
Received: from uusynap.synapse.org by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pV232-0000N1C; Fri, 11 Feb 94 09:53 PST
Received: from synapse.org (synapse@localhost) by uusynap.synapse.org (8.6.5/8.6.5) with UUCP id MAA25009 for AMIGAE@BKHOUSE.CTS.COM; Fri, 11 Feb 1994 12:52:49 -0500
Received: by synapse.org (PCB-UUCP 1.1f)
id EDF29C; Fri, 11 Feb 94 12:37:27 -0500
Message-ID: <1d.105587.1351.0CEDF29C@synapse.org>
Date: Fri, 11 Feb 94 12:29:00 -0500
Organization: Babillard Synapse Inc. - (819) 246-2344
-> > I've just started using the iffparse.library.
-> > and I'm getting a problem when I parse an IFF file.
-> > ParseIFF() returns an error (-5). Anyone encounter this problem?
->
-> Yes, I got exactly the same problem, and I know I've seen messages
-> from other people who get the same problem with 'E' .
-> What a downer.. I really really need to use iffparse.library :-(
I know, I'm trying to make an animation player (just for the hell of
it), and like would be much nicer if I could get IFFParse to work.
I'm currently tinkering with an ILBM viewer that I made, and the amount
of code that I originally wrote to read and store the chunks of just one
picture was twice the amout needed to have IFFParse do it for me. Could
you imagine what I'd have to write to do a simple anim player?
Bob Monaghan.
From donews!crash!synapse.org!bob.monaghan Sat, 12 Feb 94 01:37:49 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t3l@bkhouse.cts.com>; Sat, 12 Feb 94 01:37:49 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pV38X-0001PvC; Fri, 11 Feb 94 14:02 EST
Received: from uusynap.synapse.org by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pV32r-0000SNC; Fri, 11 Feb 94 10:56 PST
Received: from synapse.org (synapse@localhost) by uusynap.synapse.org (8.6.5/8.6.5) with UUCP id NAA25686 for AMIGAE@BKHOUSE.CTS.COM; Fri, 11 Feb 1994 13:56:38 -0500
Received: by synapse.org (PCB-UUCP 1.1f)
id EDF2A0; Fri, 11 Feb 94 12:58:06 -0500
Message-ID: <1d.105588.1351.0CEDF2A0@synapse.org>
Date: Fri, 11 Feb 94 12:36:00 -0500
Organization: Babillard Synapse Inc. - (819) 246-2344
From: bob.monaghan@synapse.org (Bob Monaghan)
To: AMIGAE@BKHOUSE.CTS.COM
Subject: Types!
You should create a list of C to E Typeing equivelents. (As some kind of
Glossary?) That would be a real bonus.
I'm not really strong on C programming, so when I look at C code to
figure out what is going on, Types can really be pretty convusing when
trying to make E equivelents.
BTW I'm trying to convert the AmigaDos 3.1 .i includes into .m files
with IConvert.
Needless to say, there are some .i files that don't want to work. (eg.
exec/ables.i or exec/exec.i or exec/initializers.i)
Any Suggestions? (I really want to have these includes!)
From donews!crash!mhd1.moorhead.msus.edu!platt Sat, 12 Feb 94 01:39:25 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t5i@bkhouse.cts.com>; Sat, 12 Feb 94 01:39:25 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pV7oo-0001PjC; Fri, 11 Feb 94 19:02 EST
Received: from mhd1.moorhead.msus.edu by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pV7fY-0000AIC; Fri, 11 Feb 94 15:53 PST
Received: by mhd1.moorhead.msus.edu (5.65/DEC-Ultrix/4.3)